let seen = new Set();
let tmp = [];
let tmpID = [];

let temp = "";
let tempID = "";
for (let i = 0; i < $this.dataSource.length; i++) {
    const val = $this.dataSource[i].body_1756195344484_mJJ4f;
    const id = $this.dataSource[i].body_1756195344484_mJJ4f_ID;

    // 跳过无效值（你可以根据需要调整判断条件）
    if (val === undefined || val === "" || id === undefined || id === "") continue;

    const key = `${val}|${id}`; // 用组合键去重
    if (!seen.has(key)) {
        seen.add(key);
        tmp.push(val);
        tmpID.push(id);
        temp += val;
        tempID += id
    }
}

$this.formModel.systemSelect_1758784003205_AGMxc = temp;
document.getElementById("systemSelect_1758784003205_AGMxc_ID").value = tempID.slice(0, -1)
console.log("一个管理人id去掉,! = ",document.getElementById("systemSelect_1758784003205_AGMxc_ID").value = tempID.slice(0, -1));